﻿using System.Collections.Generic;

namespace Handin1
{
    // Interface for object that knows which sub-suppliers have been defined
    // and also knows how to search the sub-suppliers item data bases for items.
    public interface ISearchSubSupplier
    {
        // Return (possibly empty) list of items that match search criteria
        // partnumber = 0 (wild card) or specific part number
        // description = "" (wild card) or string with free text
        List<IItem> LookUpItem(ulong partnumber, string description);
    }
}